package com.zhisheng.dto;

import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * 创建者： 智晟全哥
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class EmpDto {

/*   private Integer page =1;
   private Integer pageSize =10;*/
    private String name;
    private Short gender;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;
}
